package com.example.demo77.entity;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * (Teacher)实体类
 *
 * @author makejava
 * @since 2020-05-26 09:33:43
 */
@Component
@Mapper
@Repository
@ConfigurationProperties(prefix = "neu.teacher")
public class Teacher implements Serializable {
    @Autowired
    private static final Long serialVersionUID = 576125031264707750L;
    
    private Integer id;
    /**
    * ÕËºÅ
    */
    private String account;
    /**
    * ÃÜÂë
    */
    private String password;
    /**
    * ÊÖ»úºÅ
    */
    private String mobile;
    /**
    * ¼¼ÄÜ
    */

    /**
    * ÊÇ·ñÆôÓÃ£¬1 ÆôÓÃ£¬0 Í£ÓÃ
    */
    private Integer isAllow;

    private String[] job;

    public String[] getJob() {
        return job;
    }

    public void setJob(String[] job) {
        this.job = job;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }



    public Integer getIsAllow() {
        return isAllow;
    }

    public void setIsAllow(Integer isAllow) {
        this.isAllow = isAllow;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", mobile='" + mobile + '\'' +
                ", isAllow=" + isAllow +
                ", job=" + Arrays.toString(job) +
                '}';
    }
}